package com.gxa.community.core.pojo.bo;

import com.gxa.community.core.pojo.domain.OrderInfo;
import com.gxa.community.core.pojo.domain.UserInfo;
import com.gxa.community.core.pojo.domain.UserShippingAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "UserBo对象", description = "User信息")
public class UserBo {

    @ApiModelProperty("用户信息")
    private UserInfo userInfo;

    @ApiModelProperty("用户标签")
    private List<String> tagsList;

    @ApiModelProperty("收件人地址")
    private List<UserShippingAddress> userShippingAddress;

    @ApiModelProperty("订单信息")
    private List<OrderInfo> orderInfo;

    @ApiModelProperty("消费金额")
    private BigDecimal amount;

    @ApiModelProperty("消费订单数量")
    private Integer orderNum;

    @ApiModelProperty("实际消费金额")
    private double amountStatistics;

    @ApiModelProperty("实际优惠金额")
    private double discountsPrice;
}
